Is it possible to get collection of some ejb`s instances from container?
Posted
by kislo_metal
on Stack Overflow
See other posts from Stack Overflow
or by kislo_metal
Published on 2010-05-10T11:26:14Z
Indexed on
2010/05/10
11:34 UTC
Read the original article
Hit count: 187
Hi!
Scenario:
I have some @Statefull bean for user session (not an http session, it is web services session). And I need to manage user`s session per user.
Goal:
I need to have possibility to get collection of @Statefull UserSession`s instances and control maximum number of session`s per user, and session`s life time.
Q: Is it possible to get Collection of ejb`s instances from ejb container, instead of storing them in some collection, map etc. ?
I am using glassfish v3 , ejb 3.1, jax-ws.
Thank You!
© Stack Overflow or respective owner